EventPatternSourceBase.Remove(Delegate) method¶
Defined in
Type: EventPatternSourceBaseSystem.Reactive
Assembly: System.Reactive.dll
Applies to
netstandard2.0
protected void Remove(Delegate handler)
Summary: Removes the specified event handler, causing a disposal of the corresponding subscription to the underlying source that was created during the Add operation.
Parameters
| Name | Type | Description |
|---|---|---|
handler | Delegate | Event handler to remove. This should be the same delegate as one that was passed to the [Add](# operation. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | handler is null. |